# eric7.WebBrowser.UrlBar.FavIconLabel

Module implementing the label to show the web site icon.

### Global Attributes

None

### Classes

FavIconLabel | Class implementing the label to show the web site icon.

### Functions

None

## FavIconLabel

Class implementing the label to show the web site icon.

### Derived from

QLabel

### Class Attributes

None

### Class Methods

None

### Methods

FavIconLabel | Constructor
__browserIconChanged | Private slot to set the icon.
__clearIcon | Private slot to clear the icon.
__showPopup | Private method to show the site info popup.
mouseMoveEvent | Protected method to handle mouse move events.
mousePressEvent | Protected method to handle mouse press events.
mouseReleaseEvent | Protected method to handle mouse release events.
setBrowser | Public method to set the browser connection.

### Static Methods

None

#### FavIconLabel (Constructor)

FavIconLabel(parent=None)

Constructor

parent (QWidget)
  reference to the parent widget

#### FavIconLabel.__browserIconChanged

__browserIconChanged()

Private slot to set the icon.

#### FavIconLabel.__clearIcon

__clearIcon()

Private slot to clear the icon.

#### FavIconLabel.__showPopup

__showPopup(pos)

Private method to show the site info popup.

pos (QPoint)
  position the popup should be shown at

#### FavIconLabel.mouseMoveEvent

mouseMoveEvent(evt)

Protected method to handle mouse move events.

evt (QMouseEvent)
  reference to the mouse event

#### FavIconLabel.mousePressEvent

mousePressEvent(evt)

Protected method to handle mouse press events.

evt (QMouseEvent)
  reference to the mouse event

#### FavIconLabel.mouseReleaseEvent

mouseReleaseEvent(evt)

Protected method to handle mouse release events.

evt (QMouseEvent)
  reference to the mouse event

#### FavIconLabel.setBrowser

setBrowser(browser)

Public method to set the browser connection.

browser (WebBrowserView)
  reference to the browser widget

Up